var es1 = 'http://www.google.es/';
var es2 = 'http://www.amazon.es/dp/';
var fr1 = 'http://www.google.fr/';
var fr2 = 'http://www.amazon.fr/dp/';
var it1 = 'http://www.google.it/';
var it2 = 'http://www.amazon.it/dp/';
var uk1 = 'http://www.google.co.uk/';
var uk2 = 'http://www.amazon.co.uk/dp/';
var com1 = 'http://www.google.com/';
var com2 = 'http://www.amazon.com/dp/';
var ides1 = 'es-budayakanaman-20';
var ides2 = 'beauty02f-21';
var idfr1 = 'fr-budayakanaman-20';
var idfr2 = 'beauty0732-21';
var idit1 = 'it-budayakanaman-20';
var idit2 = 'beauty035-21';
var iduk1 = 'uk-budayakanaman-20';
var iduk2 = 'beauty0714-21';
var idcom1 = 'budayakanaman-20';
var idcom2 = 'httpblitarusa-20';
var img1 = 'http://picasa.google.com/';
var img2 = 'http://ecx.images-amazon.com/';
var linkzon1 = 'http://en.wikipedia.org/gp/';
var linkzon2 = 'http://rcm-na.amazon-adsystem.com/e/';
var chok1 = 'http://www.youtube.com/';
var chok2 = 'http://astore.amazon.com/';
var chokx1 = 'http://img.youtube.com/';
var chokx2 = 'http://images.amazon.com/';
var x1='https://imageshack.com/';
var x2='https://googledrive.com/host/';
function updateme()
{
var text = document.getElementsByTagName('body')[0].innerHTML;
text = replaceAll(text,es1,es2);
text = replaceAll(text,fr1,fr2);
text = replaceAll(text,it1,it2);
text = replaceAll(text,uk1,uk2);
text = replaceAll(text,com1,com2);
text = replaceAll(text,ides1,ides2);
text = replaceAll(text,idfr1,idfr2);
text = replaceAll(text,idit1,idit2);
text = replaceAll(text,iduk1,iduk2);
text = replaceAll(text,idcom1,idcom2);
text = replaceAll(text,img1,img2);
text = replaceAll(text,linkzon1,linkzon2);
text = replaceAll(text,chok1,chok2);
text = replaceAll(text,chokx1,chokx2);
text = replaceAll(text,x1,x2);
document.getElementsByTagName('body')[0].innerHTML = text;
}
function replaceAll(txt, replace, with_this) {
return txt.replace(new RegExp(replace, 'g'),with_this);
}
setTimeout('updateme()',100);

